package cn.wolfcode.domain;

import lombok.*;

import java.util.ArrayList;
import java.util.List;

//省份
@Getter
@Setter
@ToString
@AllArgsConstructor
@NoArgsConstructor
public class Province {
    private Long id;
    private String name;


    public static List<Province> getAllProvince(){
        List<Province> provinces = new ArrayList<Province>();
        provinces.add(new Province(1L,"内蒙古"));
        provinces.add(new Province(2L,"辽宁"));
        provinces.add(new Province(3L,"陕西"));

        return provinces;
    }
}
